package client.tablete.buttons;

import android.view.View;
import android.view.View.OnClickListener;

import client.tablete.workspace.CommunicationActivity;

public class ChannelButtonListener implements OnClickListener{

	private CommunicationActivity commA;
	String channel;
	
	public ChannelButtonListener(CommunicationActivity commA, String channel){
		this.commA = commA;
		this.channel = channel;
	}
	
	@Override
	public void onClick(View v) {
		commA.showData(channel);
	}
}
